.class Lcom/openfeint/internal/OpenFeintInternal$11;
.super Ljava/lang/Object;
.source "OpenFeintInternal.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/openfeint/internal/OpenFeintInternal;->launchIntroFlow(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/openfeint/internal/OpenFeintInternal;

.field private final synthetic val$spotlight:Z


# direct methods
.method constructor <init>(Lcom/openfeint/internal/OpenFeintInternal;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->this$0:Lcom/openfeint/internal/OpenFeintInternal;

    iput-boolean p2, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->val$spotlight:Z

    .line 971
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 973
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->this$0:Lcom/openfeint/internal/OpenFeintInternal;

    invoke-virtual {v1}, Lcom/openfeint/internal/OpenFeintInternal;->getContext()Landroid/content/Context;

    move-result-object v1

    const-class v2, Lcom/openfeint/internal/ui/IntroFlow;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 974
    .local v0, i:Landroid/content/Intent;
    iget-object v1, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->this$0:Lcom/openfeint/internal/OpenFeintInternal;

    #getter for: Lcom/openfeint/internal/OpenFeintInternal;->mApproved:Z
    invoke-static {v1}, Lcom/openfeint/internal/OpenFeintInternal;->access$20(Lcom/openfeint/internal/OpenFeintInternal;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-boolean v1, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->val$spotlight:Z

    if-eqz v1, :cond_1

    .line 975
    const-string v1, "content_name"

    const-string v2, "index?preapproved=true&spotlight=true"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 981
    :cond_0
    :goto_0
    const/high16 v1, 0x1000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 982
    iget-object v1, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->this$0:Lcom/openfeint/internal/OpenFeintInternal;

    invoke-virtual {v1}, Lcom/openfeint/internal/OpenFeintInternal;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 983
    return-void

    .line 976
    :cond_1
    iget-boolean v1, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->val$spotlight:Z

    if-eqz v1, :cond_2

    .line 977
    const-string v1, "content_name"

    const-string v2, "index?spotlight=true"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_0

    .line 978
    :cond_2
    iget-object v1, p0, Lcom/openfeint/internal/OpenFeintInternal$11;->this$0:Lcom/openfeint/internal/OpenFeintInternal;

    #getter for: Lcom/openfeint/internal/OpenFeintInternal;->mApproved:Z
    invoke-static {v1}, Lcom/openfeint/internal/OpenFeintInternal;->access$20(Lcom/openfeint/internal/OpenFeintInternal;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 979
    const-string v1, "content_name"

    const-string v2, "index?preapproved=true"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_0
.end method
